namespace BootstrapBlazorApp.Server.Pojo;
using System.ComponentModel.DataAnnotations;

public class LoginVo
{
    [Required(ErrorMessage = "用户名不可为空")]
    public string? UserName { get; set; }
    
    [Required(ErrorMessage = "密码不可为空")]
    public string? Password { get; set; }
    
    public bool IsKeep { get; set; }
}
